package com.hand.hap.demo.mapper;

import com.hand.hap.demo.dto.OmOrderHeaders;
import com.hand.hap.mybatis.common.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 订单头mapper
 * @author shuai.wang02@hand-china.com
 * @date  2018/8/25 19:51
 */

@Repository
public interface OmOrderHeadersMapper extends Mapper<OmOrderHeaders> {


    /**
     * 根据头条件查询
     *
     * @param dto 头条件
     * @return 头list
     */
    List<OmOrderHeaders> selectOrderHeadersByTerms(OmOrderHeaders dto);

    /**
     * 导出EXCEL
     *
     * @param dto 条件
     * @return
     */
    List<OmOrderHeaders> selectExcelData(OmOrderHeaders dto);

    /**
     * 导出全部EXCEL
     *
     * @return
     */
    List<OmOrderHeaders> selectExcelAllData();

}